﻿@{
    if (User.Identity.IsAuthenticated)
    {
                   @* <li>@Html.ActionLink("Current Auction", "Index", "Home")</li>
                    <li>@Html.ActionLink("About", "About", "Home")</li>
                    <li>@Html.ActionLink("Load dbf", "LoadEnterpri", "LoadVat")</li>
                    <li>@Html.ActionLink("Create new Auction", "CreateNewAuction", "CreateAuction")</li>*@
        if (Roles.IsUserInRole("USER"))
        {
                            @Html.Partial("_PartialRoleUser")
        }
        if (Roles.IsUserInRole("ADMIN"))
        {
                            @Html.Partial("_PartialRoleAdmin")
        }        
        if (Roles.IsUserInRole("DAK"))
        {
                            @Html.Partial("_PartialRoleDAK")
        }
        if (Roles.IsUserInRole("RAC"))
        {
                            @Html.Partial("_PartialRoleRAC")
        }
        if (Roles.IsUserInRole("SPFU"))
        {
                            @Html.Partial("_PartialRoleSPFU")
        }
        
 @*       <li>@Html.ActionLink("Персональні данні", "GetUserProfile", "Profile")</li>*@
    }  
 }
